package com.bw.zg3.Home

import androidx.lifecycle.MutableLiveData
import com.bw.base.entity.GGEntityResult
import com.bw.base.mvvm.BaseViewModel
import com.bw.base.net.ApiServer
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject
@HiltViewModel
class HomeViewModel @Inject constructor(val apiServer: ApiServer):BaseViewModel() {
    val GGsuccecss=MutableLiveData<GGEntityResult>()
    fun getGG(page:Int,size:Int){
        httpReguest({apiServer.getGG(page,size)},GGsuccecss::postValue)
    }


}